package com.yxinsur.imc.common.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * IMC基类
 * 
 * @author imc
 */
@Data
public class BaseImcEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 创建者 */
    private String createId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateId;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @Excel(name = "是否删除")
    private String isDeleted;

    @TableField(exist = false)
    private Map<String,Object> params;

}
